import {
  request
} from '../../request/index'
import regeneratorRuntime from '../../lib/runtime/runtime'
Page({

  data: {
    mvUrl:"",
  },

  onLoad: function (options) {
    this.getMvUrl(options.id)
  },
  
    //获取视频url
    async getMvUrl(id){
      let {data:{data}} = await request({url:"/mv/url",data:{id:id}})
      this.setData({
        mvUrl:data.url
      })
    }


})